package conu.mapmaker.display;

import javax.swing.JFrame;

/**
 * @author Tiny
 * 
 */
public class MainFrame extends JFrame implements DisplayInterface {
    
    private static Content content;
    private static Properties properties;
    
    public void MainFrame(){

    }

    public void initialize() {    
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setSize(FRAME_DIM + PROPERTIES_WIDTH, FRAME_DIM + 28);
        this.setLocationRelativeTo(null);
        this.setVisible(true);
        this.setResizable(false);
        
        content = new Content();
        properties = new Properties();
        properties.initialize();
        this.add(content);
        this.add(properties);    
        
        this.setTitle("MapMaker 0.1 alpha");
    }

}
